package com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity;

import com.vq3.digitalizationsoftwareintegrates.Entity.Enum.MessageType;
import com.vq3.digitalizationsoftwareintegrates.Entity.Spot_Check.MongoDBEntity.MongoDB_S_C_WebSocketMessageEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.ImportantNewsMessageEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.Permission_TBEntity;
import com.vq3.digitalizationsoftwareintegrates.Entity.User.URole_TBEntity;
import lombok.Data;

import java.util.List;

@Data
public class MongoDB_S_C_WebSocketSendMessageEntity {
    private int year;
    /**消息事件戳->月
     * */
    private int month;
    /**消息事件戳->日
     * */
    private int day;
    /**消息事件戳->时
     * */
    private int hour;
    /**消息事件戳->分
     * */
    private int minute;
    /**消息事件戳->秒
     * */
    private int second;
    /**消息
     * */
    private String message;
    /**用户管理消息数量
     * */
    private int UserManageMessageCount;
    /**我的消息
     * */
    private int MyMessageCount;
    /**业务消息数量
     * */
    private int BusinessMessageCount;
    /**通知消息数量
     * */
    private int CommonMessageCount;
    /**系统消息数量
     * */
    private int SysMessageCount;
    /**合计消息数量
     * */
    private int MessageCount;
    /**如果是私人消息，查这个字段
     * */
    private String lastUname;
    /**项目名
     * */
    private String ItemName;
    /**根据角色确定消息接收者
     * */
    private List<URole_TBEntity> uRole_tbEntity;
    /**是否是重要消息
     * */
    private boolean isImportantNewsMessageEntity;
    /**重要消息消息体
     * */
    private ImportantNewsMessageEntity importantNewsMessage;
    /**消息类型
     * */
    private MessageType messageType;

    private MongoDB_S_C_WebSocketMessageEntity mongoDB_s_c_webSocketMessageEntity;



    /**根据权限确定消息接收者
     * */
    private List<Permission_TBEntity> permission_tbEntities;


}
